<!DOCTYPE html>
<html>
<#include "../../include/PC_Header.html">
<body>
	<#assign nid="my_account">
	<#assign flag="tgAccount">
		<#include "../../include/header.html">
			<!--#container-->
			<div class="bgf4f4f4 pb30">
			<#include "../../include/member_borrow_header.html">
				<div id="container" class="clearfix" >
					<div class="usermain clearfix">
						<!--左边的导航 开始-->
						<div class="user_left">
							<#assign mid="m_security" >
								<#include "../account_menu.html">
						</div>
						<div class="user_right">
							<h2 class="user_title clearfix">存钱罐</h2>
								<!-- S 实名认证 -->
								<#if userCache.userNature == 1>
									<dd>
									<#if session_user_identify.realNameStatus == 0 || session_user_identify.realNameStatus == -1>
										<#elseif session_user_identify.realNameStatus == 2>
											<div class="payAccountResult clearfix">
												<div class="payAccountResultInfo clearfix">
													<i class="iconfont">&#xe60e;</i>
													<div class="float_left">
														<h1>认证审核中</h1>
														<!--<p>托管账户：<em>${session_user.tppUserId!''}</em></p>-->
													</div>
													<!--<a href="${tpp_login_url}" target="_blank">进入托管账户</a>-->
												</div>
											</div>
											<#else>
												<div class="payAccountResult clearfix">
													<div class="payAccountResultInfo clearfix">
														<i class="iconfont">&#xe60e;</i>
														<div class="float_left">
															<h1>开通托管账户成功</h1>
														</div>
													</div>
												</div>
									</#if>
									<#if session_user_identify.realNameStatus == 0 || session_user_identify.realNameStatus == -1>
										<div class="setting_form" id="modifyVerificationBox" style="display:block;" >
											<form id="realNameVaildate" action="/tpp/tppSinaAction/realName.html" method="post" autocomplete="off">
												<ul class="setting_formbd">
													<li><label>真实姓名</label><input type="text" name="realName" class="setting_txt" maxlength="20" onkeydown="value=value.replace(/[^\a-\z\A-\Z\u4E00-\u9FA5]/g,'')"/><span class="msg_tip"><em>请输入真实姓名</em></span></li>
													<li><label>身份证号码</label><input type="text" name="cardId" id="cardId" class="setting_txt"  maxlength="18" onkeyup="value=value.replace(/[^0-9X]/g,'')" /><span class="msg_tip"><em>请输入二代身份证号码</em></span></li>
													<!-- <li><label>认证类型</label> --><input type="hidden" name="tppVerifyType" id="tppVerifyType" class="setting_txt" value="MOBILE"/><!-- <span><em>请输入认证类型</em></span></li> -->
													<li><label>&nbsp;</label><input type="submit" class="setting_sub_btn" value="确认" /></li>
												</ul>
											</form>
										</div>
									</#if>
									<!-- E 实名认证 -->

									<!-- S 企业开户 -->
									<#else>
										<dd>
											<div class="settingbar clearfix">
												<#if memberInfos.status == 0 || memberInfos.status == 2>
													<#elseif memberInfos.status == 99>
														<div class="payAccountResult clearfix">
															<div class="payAccountResultInfo clearfix">
																<i class="iconfont">&#xe62d;</i>
																<div class="float_left">
																	<h1>认证审核中</h1>
																</div>
															</div>
														</div>
														<#else>
															<div class="payAccountResult clearfix">
																<div class="payAccountResultInfo clearfix">
																	<i class="iconfont">&#xe60e;</i>
																	<div class="float_left">
																		<h1>已开户</h1>
																	</div>
																</div>
															</div>
												</#if>
											</div>
											<#if memberInfos.status == 0 || memberInfos.status == 2>
												<div class="setting_form" id="modifyVerificationBox" style="display:block;" >
													<form action="/tpp/tppSinaAction/auditMemberInfos.html" method="post" autocomplete="off" id="enterpriseCertificationForm" >
														<ul class="setting_formbd">
															<li><label>公司名称</label><input type="text" name="companyName" id="companyName" class="setting_txt2" maxlength="30" value="${memberInfos.companyName!}" /><span class="msg_tip"><em>请输入真实公司名称全称</em></span></li>
															<li><label>企业网址</label><input type="text" name="website" id="website" class="setting_txt2" maxlength="100" value="${memberInfos.website!}" /><span class="msg_tip"></span></li>
															<li><label>企业地址</label><input type="text" name="address" id="address" class="setting_txt2" maxlength="200" value="${memberInfos.address!}"/><span class="msg_tip"></span></li>
															<li><label>执照号</label><input type="text" name="licenseNo" id="licenseNo" class="setting_txt2" maxlength="50" value="${memberInfos.licenseNo!}"/><span class="msg_tip"></span></li>
															<li><label>营业执照所在地</label><input type="text" name="licenseAddress" id="licenseAddress" class="setting_txt2" maxlength="200" value="${memberInfos.licenseAddress!}" /><span class="msg_tip"></span></li>
															<li  id="fullTime"><label>执照过期日（营业期限）</label><input type="text" class="dateInput" name="licenseExpireDate" id="startTime" value="${licenseExpireDate?default('')}"/><span class="msg_tip"></span></li>
															<li><label>营业范围</label><input type="text" name="businessScope" id="businessScope" class="setting_txt2" maxlength="200" value="${memberInfos.businessScope!}" /><span class="msg_tip"></span></li>
															<li><label>联系电话</label><input type="text" name="telephone" id="telephone" class="setting_txt2" maxlength="11" onkeyup="replaceAndSetPos(this,/[^\d]/g,'')" value="${memberInfos.telephone!}"/><span class="msg_tip"></span></li>
															<li><label>联系Email</label><input type="text" name="email" id="email" class="setting_txt2" maxlength="100" value="${memberInfos.email!}"/><span class="msg_tip"></span></li>
															<li><label>组织机构代码</label><input type="text" name="organizationNo" id="organizationNo" class="setting_txt2" maxlength="20" value="${memberInfos.organizationNo!}"/><span class="msg_tip"></span></li>
															<li><label>企业简介</label><input type="text" name="summary" id="summary" class="setting_txt2" maxlength="200" value="${memberInfos.summary!}" /><span class="msg_tip"></span></li>
															<li><label>企业法人</label><input type="text" name="legalPerson" id="legalPerson" class="setting_txt2" maxlength="10" value="${memberInfos.legalPerson!}" /><span class="msg_tip"></span></li>
															<li><label>法人证件号码</label><input type="text" name="certNo" id="certNo" class="setting_txt2" maxlength="18" value="${memberInfos.certNo!}" /><span class="msg_tip"></span></li>
															<!-- <li><label>证件类型</label> --><input type="hidden" name="certType" id="certType" class="setting_txt2" maxlength="5" value="IC" /><!-- <span class="msg_tip"></span></li> -->
															<li><label>法人手机号码</label><input type="text" name="legalPersonPhone" id="legalPersonPhone" class="setting_txt2" maxlength="11" onkeyup="replaceAndSetPos(this,/[^\d]/g,'')" value="${memberInfos.legalPersonPhone!}" /><span class="msg_tip"></span></li>

															<li><label>开户银行</label>
																<#if bank??>
																	<select name="bankCode">
																		<#list bank as item>
																			<option value="${item.bankCode}">${item.bankName}</option>
																		</#list>
																	</select>
																	<#else>
																		<#if act?exists&&act.bank?exists>
																			<@linkage name="bankCode" id="bank" type="value" nid="account_bank" default=act.bank/>
																			<#else>
																				<@linkage name="bankCode" id="bank" type="value" nid="account_bank"/>
																		</#if>
																</#if>

															</li>
															<#--<li><label>账号属性</label>
																<input type="radio" name="cardAttribute" value="B" checked="checked">企业对公账户 -->
															<input type="hidden" name="cardAttribute" value="B" />
															<#-- <input type="radio" name="cardAttribute" value="C" checked="checked">个人账户
															</li>-->
															<li id="city"><label>所在位置</label>
																<select class="prov" name="province"><option value="${memberInfos.province!'浙江'}"></option></select>
																<select class="city" name="city" disabled="disabled"><option value="${memberInfos.city!'杭州'}"></option></select>
																<select class="dist" name="bankBranch" disabled="disabled"><option value="${memberInfos.bankBranch!'西湖区'}"></option></select>
															</li>
															<li><label>银行账号</label> <input type="text" name="bankAccountNo" id="infoyhzh" autocomplete="off" maxlength="19" class="setting_txt2" value="${memberInfos.bankAccountNo!}" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false" onKeyUp="value=value.replace(/[^0-9]/g,'')" /><span class="msg_tip">*</span></li>
															<li><label>确认账号</label> <input type="text" name="comfirmAccount" autocomplete="off" maxlength="19" id="infoyhzh2" class="setting_txt2" value="${memberInfos.bankAccountNo!}" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false"  onKeyUp="value=value.replace(/[^0-9]/g,'')" /><span class="msg_tip">*</span></li>
															<!-- 卡类型</label> --><input type="hidden" name="cardType" id="cardType" class="setting_txt2" maxlength="5" value="DEBIT" /><!-- <span class="msg_tip"></span></li> -->
															<li><label>企业资质文件</label><input type="file" name="file" id="file" ><span class="msg_tip"><em>文件格式: *.zip 且文件名只能由数字或字母组成</em></span></li>
															<!-- <li><label>文件摘要算法</label> --><input type="hidden" name="digestType" id="digestType" class="setting_txt2" maxlength="200" value="MD5" /><!-- <span class="msg_tip"></span></li> -->
															<input type="hidden" name="mfileName" id="mfileName" /><!-- <span class="msg_tip"></span></li> -->
															<p><b>注意：请保证上传企业资质文件已压缩成zip文件，且zip文件名和解压后文件名一致，具体企业资质为:</b></p>
															<p><b>1、企业营业执照（yyzz.jpg）2、组织机构代码证（zzjgz.jpg）3、税务登记证（swdjz.jpg）</b></p>
															<p><b>4、单位银行结算账户开户许可证（jsxkz.jpg）5、机构信用代码证（jgxyz.jpg）（可空）6、ICP备案许可（icp.jpg）（可空）</b></p>
															<p><b>7、行业许可证（hyxkz.jpg）（可空）8、企业法人证件正面（frzjz.jpg）9、企业法人证件反面（frzjf.jpg）</b></p>
															<li><label>&nbsp;</label><input type="submit" class="setting_sub_btn" value="确认" /></li>
														</ul>
													</form>
												</div>
											</#if>
										</dd>
								</#if>
								<!-- E 企业开户 -->
						</div>
					</div>
				</div>
				</div>
				<!--右边的内容 结束-->
				<script>seajs.use('member_borrow/security_realNameIdentify');</script>
				<script src="/plugins/laydate-v1.1/laydate.js"></script>
				<script src="/themes/theme_default/media/js/date.js"></script>
				<#include "../../include/footer.html">
</body>
</html>